/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package slishome;

import Serial.Serial;
import Serial.SerialTest;
import Serial.X10Handler;

/**
 *
 * @author ITC
 */
public interface Globals {
    
    /*For border pane regulation*/
    int WIDTH = 830;
    int HEIGHT = 450;
    
    /*For User Type*/
    int ADMIN = 0;
    int USER = 1;
    
    /*For Check User in Userbase*/
    int USER_DOES_NOT_EXIST = 2;
    int INCORRECT_USERNAME_PASSWORD = 3;
    
    /*For Check Device in Devicebase*/
    int DEVICE_IS_ON = 4;
    int DEVICE_IS_OFF = 5;
    int DEVICE_DOES_NOT_EXIST = 6;
    int NO_CURRENT_DEVICES = 7;
    
    /*For SLISException*/
    String ADD_USER_SCREEN = "add";
    String ADMIN_SCREEN = "admin";
    String ALARM_SCREEN = "alarm";
    String DEVICE_SCREEN = "device";
    String LOGIN_SCREEN = "login";
    String LIGHT_SCREEN = "light";
    String REMOVE_USER_SCREEN = "remove";
    String SYSTEM_SCREEN = "system";
    String THERMO_SCREEN = "thermo";
    String fileName = "src/slisfx/resources/database.xml";
    
    /*For SAXReader*/
    String sUserbase = "USERBASE";
    String sUser = "USER";
    String sUsername = "USERNAME";
    String sPassword = "PASSWORD";
    String sPermission = "PERMISSIONS";
    
    /*For the ScreenFX files*/   
    String background = "src/slisfx/resources/Stars.png";
    
    /* Serial port communication */
    
    //Serial plm = new Serial();
    SerialTest plm = new SerialTest();
    X10Handler x10 = new X10Handler();
    
    /*For file name*/
    
    String txtFile = "C:/Users/ITC/Desktop/Kinect.txt"; 
    String tempFile = "C:/Users/ITC/Desktop/Temp.txt";
    //String txtFile = "C:/Users/Rebecca/Desktop/Kinect.txt"; 
    //String tempFile = "C:/Users/Rebecca/Desktop/Temp.txt";

}
